<%@ Page Language="vb" AutoEventWireup="false" Codebehind="adm_serchaudit.aspx.vb" Inherits="georgia_globaltp.adm_serchaudit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>adm_serchaudit</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="JavaScript" src="/Admin/AuditSystem/simplecalendar.js" type="text/javascript"></script>
		<style>.grad_2 { FILTER: progid:DXImageTransform.Microsoft.gradient(startColorstr=#C4CFE1, endColorstr=#ffffff, gradienttype=1); WIDTH: 100%; BACKGROUND-COLOR: #c4cfe1 }
		</style>
		<LINK href="/Admin/includes/adj_styles.css" type="text/css" rel="stylesheet">
		<script>
	function CheckDate(){
		if(document.frm.ex1.value!='' && document.frm.ex2.value !=''){
		var xdate1 = new Date(document.frm.ex1.value);
		var xdate2 = new Date(document.frm.ex2.value);
		if(xdate1 > xdate2){
			alert('\"FROM\" date must be before the \"TO\" date ');
			return false;
		}else{
			return true
		}
	}else{	
		
		alert('Please enter valid dates.');
		return false;
	}
	}
		</script>
	</HEAD>
	<BODY>
		<form id="Form1" method="post" runat="server">
			<table cellSpacing="1" cellPadding="1" border="0">
				<TBODY>
					<tr>
						<td align="center" bgColor="#dddddd" colSpan="2"><font face="arial" size="2">USER-GENERATED 
								EVENT </font>
						</td>
						<td align="center" bgColor="#dddddd" colSpan="2"><font face="arial" size="2">AFFECTED-BY 
								EVENT </font>
						</td>
					</tr>
					<%	if aUserSession(cCOMPANY_ID) = "0" then %>
					<tr>
						<td bgColor="#dddddd"><font face="verdana, arial, helvetica" size="2">System ID : <font></font>
							</font>
						</td>
						<td bgColor="#dddddd"><input maxLength="15" name="sess_cid">
						</td>
						<td bgColor="#dddddd"><font face="verdana, arial, helvetica" size="2">System ID : <font></font>
							</font>
						</td>
						<td bgColor="#dddddd"><input maxLength="15" name="aff_cid">
						</td>
					</tr>
					<%	end if %>
					<tr>
						<td bgColor="#dddddd"><font face="verdana, arial, helvetica" size="2"><!--%=application("AppName")%-->
								Account ID : <font></font></font>
						</td>
						<td bgColor="#dddddd"><input maxLength="15" name="sess_vid">
						</td>
						<td bgColor="#dddddd"><font face="verdana, arial, helvetica" size="2"><!--%=application("AppName")%-->
								Account ID : <font></font></font>
						</td>
						<td bgColor="#dddddd"><input maxLength="15" name="aff_vid">
						</td>
					</tr>
					<tr>
						<td bgColor="#dddddd"><font face="verdana, arial, helvetica" size="2">User ID : <font></font>
							</font>
						</td>
						<td bgColor="#dddddd"><input maxLength="15" name="sess_uid">
						</td>
						<td bgColor="#dddddd"><font face="verdana, arial, helvetica" size="2">User ID : <font></font>
							</font>
						</td>
						<td bgColor="#dddddd"><input maxLength="15" name="aff_uid">
						</td>
					</tr>
					<tr>
						<td class="grad_2 tblHead" align="center" colSpan="2">Select a date range to report</td>
					</tr>
					<tr>
						<td class="msg2" align="center">FROM:&nbsp;<input size="11" name="ex1">&nbsp;<A onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;"
								onclick="g_Calendar.show(event,'frm.ex1',true, 'mm/dd/yyyy', new Date(2005,9,09)); return false;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';"
								href="javascript: void(0);"><IMG height="21" alt="" src="../images/calendar.gif" width="34" border="0" name="imgCalendar"></A></td>
						<td class="msg2" align="center">TO:&nbsp;<input size="11" name="ex2">&nbsp;<A onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;"
								onclick="g_Calendar.show(event,'frm.ex2',true, 'mm/dd/yyyy', new Date(2005,9,10)); return false;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';"
								href="javascript: void(0);"><IMG height="21" alt="" src="../images/calendar.gif" width="34" border="0" name="imgCalendar"></A></td>
					</tr>
					<tr>
						<td><font face="verdana, arial, helvetica" size="2">Event Type : <font></font></font>
						</td>
						<td colSpan="3"><asp:dropdownlist id="EventList" Runat="server"></asp:dropdownlist></td>
					</tr>
					<tr>
						<td><font face="verdana, arial, helvetica" size="2">Source IP : <font></font></font>
						</td>
						<td colSpan="3"><input maxLength="15" name="sip">
						</td>
					</tr>
					<tr>
						<td><font face="verdana, arial, helvetica" size="2">Records Per Page : <font></font></font>
						</td>
						<td><select name="rpp">
								<option selected>
								10<option>
								20<option>
								30<option>
								40<option>50</option>
							</select>
						</td>
						<td><font face="verdana, arial, helvetica" size="2">Display Order : <font></font></font>
						</td>
						<td><select name="do">
								<option selected>
								Newest First<option>Oldest First</option>
							</select>
						</td>
					</tr>
					<tr>
						<td bgColor="#ffffff">&nbsp;
						</td>
						<td bgColor="#ffffff" colSpan="3"><input type="hidden" value="1" name="rc">
							<asp:button id="submit" Runat="server" Text="Search"></asp:button></td>
					</tr>
				</TBODY>
			</table>
		</form>
		<script language="javascript">
	if (document.forms[0].sess_cid != null)
	{
		document.forms[0].sess_cid.focus();
	}
	else
	{
		document.forms[0].sess_vid.focus();
	}
		</script>
	</BODY>
</HTML>
